package com.atguigu.srb.sms;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

//排除数据库连接池相关的依赖,短信的模块里面我们暂时不使用数据库
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
//手动扫描,否则无法使用swagger2的测试平台
@ComponentScan(basePackages = "com.atguigu.srb")
//启用openFeign的注解
@EnableFeignClients
public class SrbSmsApplication {

    public static void main(String[] args) {
        SpringApplication.run(SrbSmsApplication.class, args);
    }

}
